* @access private
*/
function execute() {
- global $wgRequest;
$this->skin = $skin = $this->data['skin'];
// Suppress warnings to prevent notices about missing indexes in $this->data
class MediaWikiParserTest {
public static function suite() {
- global $IP, $wgParserTestFiles;
+ global $wgParserTestFiles;
$suite = new PHPUnit_Framework_TestSuite;
* Get a Parser object
*/
function getParser( $preprocessor = null ) {
- global $wgParserConf, $wgHooks;
+ global $wgParserConf;
$class = $wgParserConf['class'];
$parser = new $class( array( 'preprocessorClass' => $preprocessor ) + $wgParserConf );